﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="moresetng.aspx.cs" Inherits="ktskumar.SharePoint.List.MoreSettings" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<asp:Literal runat="server" ID="ltmsg" />
<table class="propertysheet" border="0" width="100%" cellspacing="0" cellpadding="0">
<wssuc:InputFormSection runat="server" id="ListURLSection" Title="Rename List or Library URL"	>
	<Template_Description>
		<SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" text="" EncodeMethod='HtmlEncode'/>
		<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType4" runat="server"
			String="Type a new name as you want it to appear in links throughout the site." />
	</Template_Description>
   <Template_InputFormControls>
		<wssuc:InputFormControl LabelText="Enter new URL for List or Library" runat="server">
			 <Template_Control>

             <table border="0" cellpadding="0" cellspacing="0" dir="ltr">
				<tr nowrap="nowrap">
					<td class="ms-authoringcontrols" style="padding-right:2px" nowrap="nowrap">
					<%  if (ListURL.Length > 55) SPHttpUtility.HtmlEncode(ListURL.Substring(0, 50) + "...", Response.Output); else SPHttpUtility.HtmlEncode(ListURL, Response.Output); %>
					</td>
					<td class="ms-authoringcontrols">
					<wssawc:InputFormTextBox title="List URL" class="ms-input" ID="txtListURL" Columns="35" Runat="server" MaxLength="255" />
					</td>
				</tr>
				</table>

				
			 </Template_Control>
		</wssuc:InputFormControl>		
   </Template_InputFormControls>
</wssuc:InputFormSection>

	<!-- content types -->
	<wssuc:InputFormSection runat="server"
		id="ListHideSection"
		Title="Hide List"
		>
		<Template_Description>
			<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType1" runat="server"
				String="To hide the list from browser view. A hidden list does not appear on the Documents and Lists page, Quick Launch bar, the Modify Site Content page, or the Add Column page as an option for lookup fields." />
		</Template_Description>
		<Template_InputFormControls>
			<wssuc:InputFormControl runat="server"
				LabelText="Hide this List from Browser View"
				>
				<Template_Control>
					<table class="ms-authoringcontrols" width="100%">
						<tr>
							<td nowrap="nowrap" width="50%">
								<asp:RadioButton id="EnableListYes"
									GroupName="EnableList"
									Text="<%$Resources:wss,multipages_yes%>"
									
									Checked="true"
									runat="server"/>
							</td>
							<td nowrap="nowrap">
								<asp:RadioButton id="EnableListNo"
									GroupName="EnableList"
									Text="<%$Resources:wss,multipages_no%>"
									
									runat="server"/>
							</td>
						</tr>
					</table>
				</Template_Control>
			</wssuc:InputFormControl>
		</Template_InputFormControls>
	</wssuc:InputFormSection>
    <wssuc:ButtonSection runat="server">
	<Template_Buttons>
		<asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="BtnSave_Click" Text="<%$Resources:wss,multipages_savebutton_text%>" id="BtnSave" accesskey="<%$Resources:wss,multipages_savebutton_accesskey%>"/>
	</Template_Buttons>
</wssuc:ButtonSection>
    </table>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType3" runat="server"
		String="More Settings" LowerCase="false" />
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
<a id=onetidListHlink HREF=<%SPHttpUtility.AddQuote(SPHttpUtility.UrlPathEncode(List.DefaultViewUrl,true),Response.Output);%>><%SPHttpUtility.HtmlEncode(List.Title,Response.Output);%></a>&#32;<SharePoint:ClusteredDirectionalSeparatorArrow ID="ClusteredDirectionalSeparatorArrow1" runat="server" /> <a HREF=<%SPHttpUtility.AddQuote(SPHttpUtility.UrlPathEncode(List.ParentWeb.ServerRelativeUrl+"/_layouts/listedit.aspx?List=" + List.ID.ToString(),true),Response.Output);%>> <SharePoint:FormattedStringWithListType ID="FormattedStringWithListType2" runat="server" String="<%$Resources:wss,listsettings_titleintitlearea%>" LowerCase="false" /></a>&#32;<SharePoint:ClusteredDirectionalSeparatorArrow ID="ClusteredDirectionalSeparatorArrow2" runat="server" />
	<SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="More Settings" EncodeMethod='HtmlEncode'/>
</asp:Content>
